class DetailListModel {
  String msg;
  num resCode;
  List<DetailListEntity> resObj;
  DetailListModel({
    this.msg,
    this.resCode,
    this.resObj
  });

  DetailListModel.fromJson(Map < String, dynamic > json):
    msg=json['msg'],
    resCode=json['resCode'],
    resObj=(json['resObj']==null||json['resObj'].length==0)?null: (json['resObj'] as List)?.map((l)=>DetailListEntity.fromJson(l))?.toList();
  Map <String, dynamic> toJson() => {
    'msg':msg,
    'resCode':resCode,
    'resObj':resObj?.map((it)=>it.toJson())?.toList()
  };
}

class DetailListEntity {
  String nowDate;
  String betCount;
  String totalRegistCount;
  String depositSecondAmount;
  String depositFirstAmount;
  String depositFirstCount;
  String depositOnlineCount;
  String profitAmount;
  String depositQuickNumber;
  String betPayoutAmount;
  String depositPcCount;
  String betValidAmount;
  String depositQuickCount;
  String totalDepositCount;
  String totalAtmAmount;
  String dataCount;
  String depositWapCount;
  String totalDepositAmount;
  String depositOnlineNumber;
  String domain;
  String beginTime;
  String depositAppCount;
  String atmCount;
  String depositSecondCount;
  String newClientTotalDeposit;
  String newClientTotalAtm;
  String newClientBetValidAmount;
  String newClientCount;

  DetailListEntity({
    this.nowDate,
    this.betCount,
    this.totalRegistCount,
    this.depositSecondAmount,
    this.depositFirstAmount,
    this.depositFirstCount,
    this.depositOnlineCount,
    this.profitAmount,
    this.depositQuickNumber,
    this.betPayoutAmount,
    this.depositPcCount,
    this.betValidAmount,
    this.depositQuickCount,
    this.totalDepositCount,
    this.totalAtmAmount,
    this.dataCount,
    this.depositWapCount,
    this.totalDepositAmount,
    this.depositOnlineNumber,
    this.domain,
    this.beginTime,
    this.depositAppCount,
    this.atmCount,
    this.depositSecondCount,
    this.newClientTotalDeposit,
    this.newClientTotalAtm,
    this.newClientBetValidAmount,
    this.newClientCount
  });

  DetailListEntity.fromJson(Map < String, dynamic > json):
      nowDate=json['nowDate'],
    betCount=json['betCount'],
    totalRegistCount=json['totalRegistCount'].toString(),
    depositSecondAmount=json['depositSecondAmount'],
    depositFirstAmount=json['depositFirstAmount'],
    depositFirstCount=json['depositFirstCount'],
    depositOnlineCount=json['depositOnlineCount'],
    profitAmount=json['profitAmount'],
    depositQuickNumber=json['depositQuickNumber'],
    betPayoutAmount=json['betPayoutAmount'],
    depositPcCount=json['depositPcCount'],
    betValidAmount=json['betValidAmount'],
    depositQuickCount=json['depositQuickCount'],
    totalDepositCount=json['totalDepositCount'],
    totalAtmAmount=json['totalAtmAmount'],
    dataCount=json['dataCount'].toString(),
    depositWapCount=json['depositWapCount'],
    totalDepositAmount=json['totalDepositAmount'],
    depositOnlineNumber=json['depositOnlineNumber'],
    domain=json['domain'],
    beginTime=json['beginTime'],
    depositAppCount=json['depositAppCount'],
    atmCount=json['atmCount'],
        newClientTotalDeposit=json['newClientTotalDeposit'],
        newClientTotalAtm=json['newClientTotalAtm'],
        newClientBetValidAmount=json['newClientBetValidAmount'],
        newClientCount=json['newClientCount'],
    depositSecondCount=json['depositSecondCount'];



  Map <String, dynamic> toJson() => {
    'betCount':betCount,
    'nowDate' : nowDate,
    'totalRegistCount':totalRegistCount,
    'depositSecondAmount':depositSecondAmount,
    'depositFirstAmount':depositFirstAmount,
    'depositFirstCount':depositFirstCount,
    'depositOnlineCount':depositOnlineCount,
    'profitAmount':profitAmount,
    'depositQuickNumber':depositQuickNumber,
    'betPayoutAmount':betPayoutAmount,
    'depositPcCount':depositPcCount,
    'betValidAmount':betValidAmount,
    'depositQuickCount':depositQuickCount,
    'totalDepositCount':totalDepositCount,
    'totalAtmAmount':totalAtmAmount,
    'dataCount':dataCount,
    'depositWapCount':depositWapCount,
    'totalDepositAmount':totalDepositAmount,
    'depositOnlineNumber':depositOnlineNumber,
    'domain':domain,
    'beginTime':beginTime,
    'depositAppCount':depositAppCount,
    'atmCount':atmCount,
    'depositSecondCount':depositSecondCount,
    'newClientTotalDeposit':newClientTotalDeposit,
    'newClientTotalAtm':newClientTotalAtm,
    'newClientBetValidAmount':newClientBetValidAmount,
    'newClientCount':newClientCount
  };
}